package com.hy.mydesktop.client.rpc;

import java.util.List;

import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hy.mydesktop.client.rpcModel.RPCTreeModel;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	
	List<ModelData> getBaseModle(String table);
	List<ModelData> getTreeModel(String table,RPCTreeModel loaderConfig);
	List<ModelData> getGroupModle(String table);
	PagingLoadResult<ModelData> getPageGrid(String table,final PagingLoadConfig config);
}
